function ccR_Warrior_1()
	if ccrPlayerLevel() >= 10 and ccrPlayerLevel() <= 89 then ccR_Warrior_Arms_10_89() end
end

function ccR_Warrior_Arms_10_89()
	if ccrPlayerIsInCombat() then
		ccR_Warrior_Battle_Shout()
		ccR_Warrior_ShieldWall()
		ccR_Warrior_Berserker_Rage()
		ccR_Warrior_Die_By_The_Sword()
		ccR_Warrior_Sweeping_Strikes()
		ccR_Warrior_Recklessness()
		ccR_Warrior_Rallying_Cry()
		ccR_Warrior_Skull_Banner()
		-- Talents
		ccR_Warrior_Enraged_Regeneration()
		ccR_Warrior_Bladestorm()
		ccR_Warrior_Shockwave()
		ccR_Warrior_Dragon_Roar()
	end
	if ccrPlayerHasSpell(WHIRLWIND) then
		ccR_Warrior_Pummel()
		ccR_Warrior_Charge()
		ccR_Warrior_Victory_Rush()
		-- Rotation
		ccR_Warrior_Mortal_Strike()
		ccR_Warrior_Colossus_Smash()
		-- Single Target Rotation
		local vCount = ccrTargetCount(10)
		if (ccRS.Auto_AoE and (vCount >= 1 and vCount <= ccRS.Warrior_1_SingleTargetCount))
		or (ccrTargetIsBoss() and ccRS.Auto_AoE_Ignore_On_Boss)
		or (not ccRS.Auto_AoE and not ccRS.Manual_AoE)
		then
			if ccrTargetHealth() <= 20 then
				ccR_Warrior_Execute()
			else
				ccR_Warrior_Disarm()
				if ccrPlayerHasSpell(COLOSSUS_SMASH) then
					if ccrTargetHasDebuff(COLOSSUS_SMASH) then
						ccR_Warrior_Slam()
					else
						ccR_Warrior_Overpower()
						ccR_Warrior_Slam()
						if ccrPlayerRage() > (ccrPlayerRageMax()-30) then
							ccR_Warrior_Cleave_or_Heroic_Strike()
						end
					end
				else
					ccR_Warrior_Slam()
					ccR_Warrior_Overpower()
					if (ccrPlayerRage() >= 60 or not ccrPlayerHasSpell(SLAM))
					and not ccrTargetHasDebuff(COLOSSUS_SMASH)
					then
						ccR_Warrior_Cleave_or_Heroic_Strike()
					end
				end
			end
			return
		end
		-- AoE Rotation
		local vCount = #tblPGetMeleeEnemies
		if (ccRS.Auto_AoE and vCount >= ccRS.Warrior_1_AoECount)
		or (not ccRS.Auto_AoE and ccRS.Manual_AoE)
		then
			ccR_Warrior_Thunder_Clap()
			ccR_Warrior_Whirlwind()
		end
	else
		-- No real AoE
		ccR_Warrior_Pummel()

		ccR_Warrior_Charge()
		ccR_Warrior_Victory_Rush()

		-- Rotation
		ccR_Warrior_Mortal_Strike()
		ccR_Warrior_Thunder_Clap() 
		-- Execute / Heroic Strike
		if ccrTargetHealth() <= 20 then
			ccR_Warrior_Execute()
		else
			ccR_Warrior_Overpower()
			ccR_Warrior_Slam()
			if ccrPlayerRage() >= 40
			or not ccrPlayerHasSpell(SLAM)
			then
				ccR_Warrior_Heroic_Strike()
			end
		end		
	end
end